// 搜索框样式
.input-search-item {
  .ant-input-affix-wrapper {
    border-right: none;
  }
  .ant-input-group-addon {
    background: transparent;
    border: none;
    padding: 0px;
  }
}

.input-search-item-clear {
  .ant-input-affix-wrapper input {
    width: calc(~'100% - 16px');
  }
}

.ant-input-affix-wrapper.ant-input-affix-wrapper-textarea-with-clear-btn {
  height: auto;
  .ant-input-clear-icon {
    right: 12px;
  }
}

.ant-input-affix-wrapper-input-with-clear-btn {
  input:not(:placeholder-shown) + .ant-input-suffix {
    span.ant-input-clear-icon{
      display: none;
    }
  }
  input:not(:placeholder-shown):focus + .ant-input-suffix {
    button {
      display: none;
    }
    span.ant-input-clear-icon{
      display: inline-block;
    }
  }
  
}